﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LeaveWordManage.aspx.cs" Inherits="Gmis.Web.Manage.Affairs.LeaveWordManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
     <form id="pagerForm" method="post" action="Affairs/LeaveWordManage.aspx">
    <input type="hidden" name="status" value="status" />
    <input type="hidden" name="keywords" value="keywords" />
    <input type="hidden" name="numPerPage" value="<% =NumPerPage %>" />
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="orderField" value="" />
    </form>
    <div class="pageHeader">
        <!--<搜索栏>-->
        <form onsubmit="return navTabSearch(this);" action="Affairs/LeaveWordManage.aspx" method="post">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>
                       开始时间：</label>
                    <input class="date readonly textInput valid" type="text" value="" readonly="readonly" name="StartTime"/>
<a class="inputDateButton" href="javascript:void(0)">选择</a>
                    
                </li>
                <li>
                    
                     <label>
                       结束时间：</label>
                    <input class="date readonly textInput valid" type="text" value="" readonly="readonly" name="EndTime"/>
<a class="inputDateButton" href="javascript:void(0)">选择</a> 
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                    检索</button></div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        </form>
        <!--</搜索栏>-->
    </div>
     <div class="panelBar">
            <ul class="toolBar">
               
                <li><a class="delete" href="Affairs/LeaveWordManage.ashx?action=deleteall" posttype="string"
                    rel="ids" target="selectedTodo" title="确实要删除这些记录吗?"><span>批量删除</span> </a></li>
            </ul>
        </div> 
    <div class="pageContent">
        <table class="table" width="100%">
            <thead>
                <tr>
                    <th width="22">
                        <input type="checkbox" group="ids" class="checkboxCtrl">
                    </th>
                    <th width="80">
                        标题
                    </th>
                    <th width="80">
                    留言人
                    </th>
                    <th width="120">
                        留言时间
                    </th>
                 
                    <th width="70">
                        操作
                    </th>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="RepeaterTr" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <input name="ids" type="checkbox" value='<%#DataBinder.Eval(Container.DataItem, "Id")%>' />
                            </td>
                            <td>
                                <%# DataBinder.Eval(Container.DataItem, "Title")%>
                            </td>
                            <td>
                            <%# DataBinder.Eval(Container.DataItem, "leaveWordPerson")%>
                            </td>
                            <td>
                                <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "leaveWordTime")).ToString("yyyy-MM-dd")%>
                            </td>
                        
                            <td>
                                <a title="删除" target="ajaxTodo" href="Affairs/LeaveWordManage.ashx?action=delete&id=<%# DataBinder.Eval(Container.DataItem, "Id")%>"
                                    class="btnDel">删除</a>
                                <a title="编辑" target="dialog" width="860" height="600" href="Affairs/LeaveWordReply.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id")%>&action=Reply"
                                        class="btnEdit">回复</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
        <div class="panelBar">
            <div class="pages">
                <span>显示</span>
                <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">       
                    <option value="<%=NumPerPage%>"></option>   
                    <option value="20">20</option>
                    <option value="30">30</option>
                    <option value="50">50</option>
                    <option value="100">100</option>
                </select>
                <span>条，共<%=TotalCount%>条</span>
            </div>
            <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=NumPerPage%>"
                pagenumshown="<%=PageNumShown%>" currentpage="<%=PageNum%>">
            </div>
        </div>
    </div>
</body>
</html>
